package com.project.communitymanagement.controller;

import com.project.communitymanagement.common.BaseController;
import com.project.communitymanagement.entity.TbWelfareDistribution;
import com.project.communitymanagement.service.TbWelfareDistributionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
@RequestMapping("tbwelfaredistribution")
public class TbWelfareDistributionController extends BaseController<TbWelfareDistributionService, TbWelfareDistribution> {

    @Autowired
    private TbWelfareDistributionService tbwelfaredistributionService;

    @Override
    protected TbWelfareDistributionService service() {
        return tbwelfaredistributionService;
    }
}
